package DesignMode.Memento;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}15:17
 */
public class Memento {//备忘录
    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {//需要保存的数据属性，可以是多个
        return state;
    }
}
